<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 th:text="${msg}">欢迎访问Spring Boot</h1>
<p th:text="${userInfo.email}">张三</p>
<p th:text="${#session.getAttribute('mySchool')}">清华大学</p>
<p th:text="${session.mySchool}">清华大学</p>
<!--展示个人信息时-->
<div th:object="${userInfo}">
    <p th:text="*{email}">123456@qq.com</p>
</div>

<form>
    <input id="uid" th:id="u_id">
</form>

<img src="../static/img/headjpg.jpg" th:src="@{/img/headjpg.jpg}" width="20%" height="20%">


<table>
    <tr th:each="user : ${userList}">
        <td th:text="${user.username}">张三</td>
        <td th:text="${user.email}">1111@qq.com</td>
    </tr>
</table>

</body>
</html>